package com.bank6677.sync.csm.domain.old;

import java.math.BigDecimal;
import java.util.Date;

public class LoanGuarMateInfo {
    private Long guarMateId;
    private Long applyId;
    private String educateLevel;
    private Date mateBirt;
    private Double mateMonthIncome;
    private Double mateOtherIncome;
    private String mateCridit;
    private String mateDebtType;
    private Double mateDebtAmount;
    private String mateSalaryType;
    private String mateGiveBank;
    private String mateWorkType;
    private Double mateTaxMoney;
    private String mateUnitName;
    private String mateUnitAddr;
    private Double mateWorkYear;
    private String mateOccupation;
    private String matePost;
    public Long getGuarMateId() {
        return guarMateId;
    }

    public void setGuarMateId(Long guarMateId) {
        this.guarMateId = guarMateId;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public String getEducateLevel() {
        return educateLevel;
    }

    public void setEducateLevel(String educateLevel) {
        this.educateLevel = educateLevel == null ? null : educateLevel.trim();
    }

    public Date getMateBirt() {
        return mateBirt;
    }

    public void setMateBirt(Date mateBirt) {
        this.mateBirt = mateBirt;
    }

    public Double getMateMonthIncome() {
        return mateMonthIncome;
    }

    public void setMateMonthIncome(Double mateMonthIncome) {
        this.mateMonthIncome = mateMonthIncome;
    }

    public Double getMateOtherIncome() {
        return mateOtherIncome;
    }

    public void setMateOtherIncome(Double mateOtherIncome) {
        this.mateOtherIncome = mateOtherIncome;
    }

    public String getMateCridit() {
        return mateCridit;
    }

    public void setMateCridit(String mateCridit) {
        this.mateCridit = mateCridit == null ? null : mateCridit.trim();
    }

    public String getMateDebtType() {
        return mateDebtType;
    }

    public void setMateDebtType(String mateDebtType) {
        this.mateDebtType = mateDebtType == null ? null : mateDebtType.trim();
    }

    public Double getMateDebtAmount() {
        return mateDebtAmount;
    }

    public void setMateDebtAmount(Double mateDebtAmount) {
        this.mateDebtAmount = mateDebtAmount;
    }

    public String getMateSalaryType() {
        return mateSalaryType;
    }

    public void setMateSalaryType(String mateSalaryType) {
        this.mateSalaryType = mateSalaryType == null ? null : mateSalaryType.trim();
    }

    public String getMateGiveBank() {
        return mateGiveBank;
    }

    public void setMateGiveBank(String mateGiveBank) {
        this.mateGiveBank = mateGiveBank == null ? null : mateGiveBank.trim();
    }

    public String getMateWorkType() {
        return mateWorkType;
    }

    public void setMateWorkType(String mateWorkType) {
        this.mateWorkType = mateWorkType == null ? null : mateWorkType.trim();
    }

    public Double getMateTaxMoney() {
        return mateTaxMoney;
    }

    public void setMateTaxMoney(Double mateTaxMoney) {
        this.mateTaxMoney = mateTaxMoney;
    }

    public String getMateUnitName() {
        return mateUnitName;
    }

    public void setMateUnitName(String mateUnitName) {
        this.mateUnitName = mateUnitName == null ? null : mateUnitName.trim();
    }

    public String getMateUnitAddr() {
        return mateUnitAddr;
    }

    public void setMateUnitAddr(String mateUnitAddr) {
        this.mateUnitAddr = mateUnitAddr == null ? null : mateUnitAddr.trim();
    }

    public Double getMateWorkYear() {
        return mateWorkYear;
    }

    public void setMateWorkYear(Double mateWorkYear) {
        this.mateWorkYear = mateWorkYear;
    }

    public String getMateOccupation() {
        return mateOccupation;
    }

    public void setMateOccupation(String mateOccupation) {
        this.mateOccupation = mateOccupation == null ? null : mateOccupation.trim();
    }

    public String getMatePost() {
        return matePost;
    }

    public void setMatePost(String matePost) {
        this.matePost = matePost == null ? null : matePost.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (!(that instanceof LoanGuarMateInfo)) {
            return false;
        }
        LoanGuarMateInfo other = (LoanGuarMateInfo) that;
        return this.getGuarMateId() == null ? other == null : this.getGuarMateId().equals(other.getGuarMateId())
            && this.getApplyId() == null ? other == null : this.getApplyId().equals(other.getApplyId())
            && this.getEducateLevel() == null ? other == null : this.getEducateLevel().equals(other.getEducateLevel())
            && this.getMateBirt() == null ? other == null : this.getMateBirt().equals(other.getMateBirt())
            && this.getMateMonthIncome() == null ? other == null : this.getMateMonthIncome().equals(other.getMateMonthIncome())
            && this.getMateOtherIncome() == null ? other == null : this.getMateOtherIncome().equals(other.getMateOtherIncome())
            && this.getMateCridit() == null ? other == null : this.getMateCridit().equals(other.getMateCridit())
            && this.getMateDebtType() == null ? other == null : this.getMateDebtType().equals(other.getMateDebtType())
            && this.getMateDebtAmount() == null ? other == null : this.getMateDebtAmount().equals(other.getMateDebtAmount())
            && this.getMateSalaryType() == null ? other == null : this.getMateSalaryType().equals(other.getMateSalaryType())
            && this.getMateGiveBank() == null ? other == null : this.getMateGiveBank().equals(other.getMateGiveBank())
            && this.getMateWorkType() == null ? other == null : this.getMateWorkType().equals(other.getMateWorkType())
            && this.getMateTaxMoney() == null ? other == null : this.getMateTaxMoney().equals(other.getMateTaxMoney())
            && this.getMateUnitName() == null ? other == null : this.getMateUnitName().equals(other.getMateUnitName())
            && this.getMateUnitAddr() == null ? other == null : this.getMateUnitAddr().equals(other.getMateUnitAddr())
            && this.getMateWorkYear() == null ? other == null : this.getMateWorkYear().equals(other.getMateWorkYear())
            && this.getMateOccupation() == null ? other == null : this.getMateOccupation().equals(other.getMateOccupation())
            && this.getMatePost() == null ? other == null : this.getMatePost().equals(other.getMatePost());
    }

    @Override
    public int hashCode() {
        int hash = 23;
        if (getGuarMateId() != null) {
            hash *= getGuarMateId().hashCode();
        }
        if (getApplyId() != null) {
            hash *= getApplyId().hashCode();
        }
        if (getEducateLevel() != null) {
            hash *= getEducateLevel().hashCode();
        }
        if (getMateBirt() != null) {
            hash *= getMateBirt().hashCode();
        }
        if (getMateMonthIncome() != null) {
            hash *= getMateMonthIncome().hashCode();
        }
        if (getMateOtherIncome() != null) {
            hash *= getMateOtherIncome().hashCode();
        }
        if (getMateCridit() != null) {
            hash *= getMateCridit().hashCode();
        }
        if (getMateDebtType() != null) {
            hash *= getMateDebtType().hashCode();
        }
        if (getMateDebtAmount() != null) {
            hash *= getMateDebtAmount().hashCode();
        }
        if (getMateSalaryType() != null) {
            hash *= getMateSalaryType().hashCode();
        }
        if (getMateGiveBank() != null) {
            hash *= getMateGiveBank().hashCode();
        }
        if (getMateWorkType() != null) {
            hash *= getMateWorkType().hashCode();
        }
        if (getMateTaxMoney() != null) {
            hash *= getMateTaxMoney().hashCode();
        }
        if (getMateUnitName() != null) {
            hash *= getMateUnitName().hashCode();
        }
        if (getMateUnitAddr() != null) {
            hash *= getMateUnitAddr().hashCode();
        }
        if (getMateWorkYear() != null) {
            hash *= getMateWorkYear().hashCode();
        }
        if (getMateOccupation() != null) {
            hash *= getMateOccupation().hashCode();
        }
        if (getMatePost() != null) {
            hash *= getMatePost().hashCode();
        }
        return hash;
    }
}